<!DOCTYPE html>
<html>
<head>
    <title>客户历史</title>
    <style type="text/css">
        table{border-collapse:collapse;border-spacing:0;border-left:1px solid #888;border-top:1px solid #888;}
        th,td{border-right:1px solid #888;border-bottom:1px solid #888;padding:5px 15px;}
        th{font-weight:bold;background:#ccc;}
    </style>
</head>
<body>
<div>
    <table align="center" width="98%" style="margin-top: 10px">
        <tbody id="content">
            <tr>
                <td>序号</td>
                <td>操作</td>
                <td>时间</td>
                <td>操作人</td>
            </tr>
            <?php foreach($list as $k => $v):?>
            <tr>
                <td><?=$v['id']?></td>
                <td><?=$v['action'] == 1 ? '收藏' : '投放'?></td>
                <td><?=date('Y-m-d',$v['update_time'])?></td>
                <td><?=$v['user']['name']?></td>
            </tr>
            <?php endforeach;?>
            <!-- <tr>
                <td colspan="4" align="center"></td>
            </tr> -->
        </tbody>
    </table>
</div>
</body>
</html>